//
//  StatusBottomView.swift
//  MyWeibo
//
//  Created by 余丽丽 on 15/10/13.
//  Copyright © 2015年 余丽丽. All rights reserved.
// 底部视图

import UIKit


class StatusBottomView: UIView {


   override init(frame: CGRect) {
        super.init(frame: frame)
        setupUI()
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    private func setupUI(){
     backgroundColor = UIColor(white: 0.95, alpha: 1.0)
        
        //添加空间
        addSubview(forwardButton)
        addSubview(commentButton)
        addSubview(likeButton)
        
        //布局控件
        ff_HorizontalTile([forwardButton,commentButton,likeButton], insets: UIEdgeInsetsZero)
        
    }
    
    // MARK: -懒加载控件
    private lazy var forwardButton: UIButton = UIButton(title: "转发", imageName: "timeline_icon_retweet")
    private lazy var commentButton: UIButton = UIButton(title: "评论", imageName: "timeline_icon_comment")
    private lazy var likeButton: UIButton = UIButton(title: "赞", imageName: "timeline_icon_unlike")
//
}
